package park;

public class ReviewVO {
	
	private String reno; //게시판 번호 pk 시퀀스
	private String conno; //회원번호 fk 시퀀스
	private String mno; //메뉴번호 fk 시퀀스
	private String reregdate; //등록일 systemdate
	private String regrd; //평점
	private String recomment; //코멘트
	
	//생성자를 통해 값을 저장
	public ReviewVO(String reno , String conno , String mno,
			String reregdate , String regrd , String recomment ) {
		
		this.reno = reno;
		this.reno = conno;
		this.reno = mno;
		this.reno = reregdate;
		this.reno = regrd;
		this.reno = recomment;
		
	}
	
	
	
	public String getReno() {
		return reno;
	}
	public void setReno(String reno) {
		this.reno = reno;
	}
	public String getConno() {
		return conno;
	}
	public void setConno(String conno) {
		this.conno = conno;
	}
	public String getMno() {
		return mno;
	}
	public void setMno(String mno) {
		this.mno = mno;
	}
	public String getReregdate() {
		return reregdate;
	}
	public void setReregdate(String reregdate) {
		this.reregdate = reregdate;
	}
	public String getRegrd() {
		return regrd;
	}
	public void setRegrd(String regrd) {
		this.regrd = regrd;
	}
	public String getRecomment() {
		return recomment;
	}
	public void setRecomment(String recomment) {
		this.recomment = recomment;
	}
	
	
	@Override
	public String toString() {
		
		StringBuilder sb = new StringBuilder();
		
		sb.append(reno).append("/").append(conno).append("/")
		.append(mno).append("/").append(reregdate).append("/")
		.append(regrd).append("/").append(recomment);
		
		return sb.toString();
		
	}
	
	
}
